package com.zhongc.advance.info;

import java.io.Serializable;
import java.util.Date;

/**
 * @Filename RolePermission.java
 * @Description 角色信息 包括权限
 * @Version 1.0
 * @Author zhongc
 * @Email zhong_ch@foxmail.com
 * @History <li>Author: zhongc</li>
 * <li>Date: 2015年7月21日</li>
 * <li>Version: 1.0</li>
 * <li>Content: create</li>
 */
public class RolePermission implements Serializable {

    /**
     * Comment for <code>serialVersionUID</code>
     */
    private static final long serialVersionUID = -200104651695731951L;

    /**
     * 角色代码
     */
    private String roleId;

    /**
     * 角色名称
     */
    private String name;

    /**
     * 描述
     */
    private String memo;

    /**
     * 创建日期
     */
    private Date createTime;

    /**
     * 权限代码
     */
    private String permissionCodes;

    /**
     * 权限名称
     */
    private String permissionName;

    public RolePermission() {

    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getPermissionCodes() {
        return permissionCodes;
    }

    public void setPermissionCodes(String permissionCodes) {
        this.permissionCodes = permissionCodes;
    }

    public String getPermissionName() {
        return permissionName;
    }

    public void setPermissionName(String permissionName) {
        this.permissionName = permissionName;
    }

    @Override
    public String toString() {
        return "RolePermission [roleId=" + roleId +
                " name=" + name + ", memo=" + memo + ", createTime="
                + createTime + ", permissionCodes=" + permissionCodes
                + ", permissionName=" + permissionName + "]";
    }


}
